package com.test02;
/*
//需求：在控制台输出5次"HelloWorld"
//for循环实现
 */

public class Test09 {
    public static void main(String[] args) {
        for (int i = 1; i<5 ; i++) {
            System.out.println("java真神奇");

        }
        System.out.println("----------------");
         int j = 1;
         while (j<5){
             System.out.println("java真神奇");
             j++;
         }
        System.out.println("----------------");
         int h = 0;
         do {
             System.out.println("java真神奇");
             h++;


           }while(h <5);

    }
}


